package com.example.thegreatwall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.thegreatwall.entity.ArticleCollection;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ArticleCollectionMapper extends BaseMapper<ArticleCollection> {
    List<Integer>aliststatus(@Param("userid")int userid);
    //查询这个用户是否收藏了这个文章
    int isCollect(@Param("userid")int userid, @Param("articleid")int articleid);
}